func crypto/rsa.bigIntEqualToBytes
8 uses
crypto/rsa (current package)
rsa.go#L257: if !bigIntEqualToBytes(priv.N, N) || priv.E != e || !bigIntEqualToBytes(priv.D, d) {
rsa.go#L263: return bigIntEqualToBytes(priv.Primes[0], P) &&
rsa.go#L264: bigIntEqualToBytes(priv.Primes[1], Q) &&
rsa.go#L265: bigIntEqualToBytes(priv.Precomputed.Dp, dP) &&
rsa.go#L266: bigIntEqualToBytes(priv.Precomputed.Dq, dQ) &&
rsa.go#L267: bigIntEqualToBytes(priv.Precomputed.Qinv, qInv)
rsa.go#L272: func bigIntEqualToBytes(a *big.Int, b []byte) bool {